package com.enba.boot.web.interceptor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/** 拦截器回调 */
public interface SecurityContextInterceptorCallback {

  /**
   * @param request current HTTP request
   * @param response current HTTP response
   * @param handler chosen handler to execute, for type and/or instance evaluation
   * @return
   */
  boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler);
}
